<?php
interface ISerializable {
   const SUCCESS = 0;
   const WRONG = 1;
   const $UNKNOW = 2;

   /**
    * Parse data from request data. (GET or POST)
    */
   public function parseBody($body);
   /**
    * Write data as var1Name=var1Value&var2Name=var2Value...
    */
   public function writeBody();
}
?>